package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
/*
@Scope注解默认单例，多例浪费内存
singleton:单例
prototype:多例
 */
@Scope
@Component
public class Order {
}
